#!/usr/bin/env bash

eval "$("$HOME"/.amazonrc)"
s3cmd put --recursive ~/public_html/ s3://photos.tylercipriani.com/

for file in ~/public_html/*; do
    fn=$(basename "$file")
    s3cmd setacl --acl-public  --recursive "s3://photos.tylercipriani.com/${fn}"
done
